/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * frmDaftarPasienIGD.java
 *
 * Created on Jan 24, 2012, 12:04:47 PM
 */
package SIMRS.RawatInap.view;

import usu.widget.Form;

/**
 *
 * @author asus A42J-i3
 */
public class frmPasienRawatInap extends Form {

    /** Creates new form frmDaftarPasienIGD */
    public frmPasienRawatInap() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnlForm1 = new SIMRS.RawatInap.widget.PnlForm();
        scrollPane1 = new SIMRS.RawatInap.widget.ScrollPane();
        jScrollPane1 = new javax.swing.JScrollPane();
        tblPasienIGD = new SIMRS.RawatInap.widget.Table();
        label2 = new SIMRS.RawatInap.widget.Label();
        btnCari = new SIMRS.RawatInap.widget.ButtonBig();
        label3 = new SIMRS.RawatInap.widget.Label();
        btnKeluar = new SIMRS.RawatInap.widget.button2();
        btnPulang = new SIMRS.RawatInap.widget.button2();
        btnPelayananPasien = new SIMRS.RawatInap.widget.button2();
        btnPesanPemeriksaan = new SIMRS.RawatInap.widget.button2();
        label11 = new SIMRS.RawatInap.widget.Label();
        txtTanggalAwal = new com.toedter.calendar.JDateChooser();
        txtTanggalAkhir = new com.toedter.calendar.JDateChooser();

        setTitle("[ :: Pasien Rawat Inap :: ]");
        setAnimationHide(usu.widget.constan.Animation.HIDE_TO_BOTTOM);
        setAnimationShow(usu.widget.constan.Animation.SHOW_FROM_TOP);
        setResizable(false);
        setUndecorated(true);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                formWindowClosing(evt);
            }
        });
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        pnlForm1.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(112, 138, 31), 3, true));
        pnlForm1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        tblPasienIGD.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane1.setViewportView(tblPasienIGD);

        scrollPane1.setViewportView(jScrollPane1);

        pnlForm1.add(scrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 160, 520, 100));

        label2.setText("Periode ");
        pnlForm1.add(label2, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 94, 60, 20));

        btnCari.setText("Cari");
        btnCari.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCariActionPerformed(evt);
            }
        });
        pnlForm1.add(btnCari, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 120, -1, 20));

        label3.setText("S/d");
        pnlForm1.add(label3, new org.netbeans.lib.awtextra.AbsoluteConstraints(330, 120, -1, -1));

        btnKeluar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_close.png"))); // NOI18N
        btnKeluar.setText("Keluar");
        btnKeluar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnKeluarActionPerformed(evt);
            }
        });
        pnlForm1.add(btnKeluar, new org.netbeans.lib.awtextra.AbsoluteConstraints(430, 310, -1, -1));

        btnPulang.setText("Pulang");
        btnPulang.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnPulangActionPerformed(evt);
            }
        });
        pnlForm1.add(btnPulang, new org.netbeans.lib.awtextra.AbsoluteConstraints(150, 270, 90, -1));

        btnPelayananPasien.setText("Pelayanan Pasien");
        btnPelayananPasien.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnPelayananPasienActionPerformed(evt);
            }
        });
        pnlForm1.add(btnPelayananPasien, new org.netbeans.lib.awtextra.AbsoluteConstraints(250, 270, -1, -1));

        btnPesanPemeriksaan.setText("Pesan Pemeriksaan");
        btnPesanPemeriksaan.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnPesanPemeriksaanActionPerformed(evt);
            }
        });
        pnlForm1.add(btnPesanPemeriksaan, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 270, -1, -1));

        label11.setForeground(new java.awt.Color(255, 255, 255));
        label11.setText("Form Pasien Rawat Inap");
        label11.setFont(new java.awt.Font("Tahoma", 1, 24));
        pnlForm1.add(label11, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 20, -1, -1));
        pnlForm1.add(txtTanggalAwal, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 120, 140, -1));
        pnlForm1.add(txtTanggalAkhir, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 120, 120, -1));

        getContentPane().add(pnlForm1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 560, 370));

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-560)/2, (screenSize.height-371)/2, 560, 371);
    }// </editor-fold>//GEN-END:initComponents

private void btnCariActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCariActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_btnCariActionPerformed

    private void btnKeluarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnKeluarActionPerformed
    dispose();
    }//GEN-LAST:event_btnKeluarActionPerformed

    private void btnPulangActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnPulangActionPerformed
        this.dispose();
        frmPasienPulang pasienPulang=new frmPasienPulang();
        pasienPulang.setVisible(true);
    }//GEN-LAST:event_btnPulangActionPerformed

    private void btnPelayananPasienActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnPelayananPasienActionPerformed
        this.dispose();
        frmTransaksiPelayanan transPelayanan=new frmTransaksiPelayanan();
        transPelayanan.setVisible(true);
    }//GEN-LAST:event_btnPelayananPasienActionPerformed

    private void btnPesanPemeriksaanActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnPesanPemeriksaanActionPerformed
        this.dispose();
        frmPemeriksaan pemeriksaan=new frmPemeriksaan();
        pemeriksaan.setVisible(true);
                
    }//GEN-LAST:event_btnPesanPemeriksaanActionPerformed

    private void formWindowClosing(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowClosing
        dispose();
    }//GEN-LAST:event_formWindowClosing

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private SIMRS.RawatInap.widget.ButtonBig btnCari;
    private SIMRS.RawatInap.widget.button2 btnKeluar;
    private SIMRS.RawatInap.widget.button2 btnPelayananPasien;
    private SIMRS.RawatInap.widget.button2 btnPesanPemeriksaan;
    private SIMRS.RawatInap.widget.button2 btnPulang;
    private javax.swing.JScrollPane jScrollPane1;
    private SIMRS.RawatInap.widget.Label label11;
    private SIMRS.RawatInap.widget.Label label2;
    private SIMRS.RawatInap.widget.Label label3;
    private SIMRS.RawatInap.widget.PnlForm pnlForm1;
    private SIMRS.RawatInap.widget.ScrollPane scrollPane1;
    private SIMRS.RawatInap.widget.Table tblPasienIGD;
    private com.toedter.calendar.JDateChooser txtTanggalAkhir;
    private com.toedter.calendar.JDateChooser txtTanggalAwal;
    // End of variables declaration//GEN-END:variables
}
